package com.zx.cloud.security.constants;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SecurityConstants {
    public static String TOPIC ;

    @Autowired
    private void setTOPIC(@Value("${spring.kafka.topic}") String topic){
        TOPIC=topic;
    }
}
